import { post } from '@/api/http'

// 获取页面枚举
export const getEnumsData = (data) => post({ url: '/channelSyncRecord/getEnums', data })

// 列表查询
export const getList = (data) => post({ url: '/channelSyncRecord/pageList', data })

// 同步记录统计
export const getRecords = (data) => post({ url: '/channelSyncRecord/statistics', data })

// 通知人配置详情
export const getNoticeDetail = (data) => post({ url: '/channelSyncRecord/noticeConfig/detail', data })

// 员工数据
export const getStaffData = (data) => post({ url: '/staff/searchEnterpriseStaffLimit', data })

// 通知人配置保存
export const saveNotice = (data) => post({ url: '/channelSyncRecord/noticeConfig/save', data })

// 通知人配置批量添加
export const addBatchStaff = (data) => post({ url: '/channelSyncRecord/noticeConfig/batchAddStaff', data })
